package com.wlsk.license.dto.request.feign;

import com.wlsk.license.dto.BaseReqDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @description: 用户ID请求
 * @author: liuzhangbin
 * @date: 2025/2/24
 */
@Getter
@Setter
public class UserIdReqDto extends BaseReqDto {

    @ApiModelProperty("用户ID")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    public UserIdReqDto(Long userId) {
        this.userId = userId;
    }

    public UserIdReqDto() {
    }
}
